
{include file="admin/common"}


<form action="" method="post">
    <div class="xjhy" style="padding:0px;">
        <div class="tabBox_t">
            <div class="tabBox">
                <!--基本配置-->
                <ul class="hypz">
                    <li class="clearfix">
                        <span class="title">指令名称：</span>
                        <div class="li_r">
                            <input type="hidden" name="id" value="{$item.id?$item.id:''}">
                            <input class="chang" name="title" type="text" value="{$item.title?$item.title:''}">
                            <i>*</i>
                        </div>
                    </li>
                    <li class="clearfix">
                        <span class="title">设备：</span>
                        <div class="li_r">
                            <select name="device_id" id="">
                                {volist name="list" id = 'li_item'}
                                    <option value="{$li_item.device_id}" {if condition="$li_item.device_id==$item.device_id"} selected {/if}>  {$li_item.device_name}  </option>
                                {/volist}
                            </select>
                        </div>
                    </li>
                    <li class="clearfix">
                        <span class="title">匹配文字：</span>
                        <div class="li_r">
                            <input name="keyword" type="text" value="{$item.keyword?$item.keyword:''}"> <i>*</i>
                        </div>
                    </li>
                    <li class="clearfix" style="height: 200px;">
                        <span class="title">代码指令：</span>
                        <div class="li_r">
                            <textarea    cols="30" rows="10" name="cmd">{$item.cmd?$item.cmd:''}</textarea>
                        </div>
                    </li>
                    <li class="clearfix tj_btn">
                        <button type="submit">提交</button>
                    </li>
                </ul>
                <!--基本配置-->
            </div>
        </div>
    </div>
</form>
